PhilipCubix opened a new issue, #7558:
URL: https://github.com/apache/hop/issues/7558

   ### Apache Hop version?
   
   2.18.1
   
   ### Java version?
   
   21.0.11
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   Hi,
   
   when combining a base URL in a Rest Connection metadata and the URL from 
field option, Hop combines these elements correctly into the full URL, but 
doesn't manage to perform the request:
   
   - Rest Connection: https://api.restful-api.dev/objects
   - field: urlPart = /ff8081819d82fab6019f701d06c074a4
   - full URL: 
https://api.restful-api.dev/objects/ff8081819d82fab6019f701d06c074a4
   
   "REST Client" uses the complete URL (from a field), and "REST Client 2" uses 
the Rest Connection together with the field urlPart and puzzles together both 
into the full URL. However, only "REST Client" manages to do the PATCH, and 
output rows to log.
   
   "REST Client 2" has no output
   
   2026/07/17 15:14:48 [Detailed] **REST client**.0 - Response time 
(milliseconds): [406] for 
[**https://api.restful-api.dev/objects/ff8081819d82fab6019f701d06c074a4**]
   2026/07/17 15:14:48 [Basic]    Write to log.0 - 
   2026/07/17 15:14:48 [Basic]    Write to log.0 - ------------> Linenr 
1------------------------------
   2026/07/17 15:14:48 [Basic]    Write to log.0 - urlPart = 
/ff8081819d82fab6019f701d06c074a4
   2026/07/17 15:14:48 [Basic]    Write to log.0 - body = {"name": "apple 
macbook pro 16 updated at 2026-07-17 15:14:47 via full URL"}
   2026/07/17 15:14:48 [Basic]    Write to log.0 - result = 
{"id":"ff8081819d82fab6019f701d06c074a4","name":"apple macbook pro 16 updated 
at 2026-07-17 15:14:47 via full 
URL","updatedAt":1784294088155,"data":{"year":2020,"price":1849.99,"CPU 
model":"Intel Core i9","Hard disk size":"1 TB"}}
   2026/07/17 15:14:48 [Basic]    Write to log.0 - httpCode = 200
   2026/07/17 15:14:48 [Basic]    Write to log.0 - 
   2026/07/17 15:14:48 [Basic]    Write to log.0 - ====================
   2026/07/17 15:14:48 [Basic]    REST client.0 - Finished processing (I=0, 
O=0, R=1, W=1, U=0, E=0)
   2026/07/17 15:14:48 [Basic]    Write to log.0 - Finished processing (I=0, 
O=0, R=1, W=1, U=0, E=0)
   2026/07/17 15:14:50 [Detailed] **REST client 2**.0 - Connecting to 
[**https://api.restful-api.dev/objects/ff8081819d82fab6019f701d06c074a4**] ...
   
   
[test-patch.zip](https://github.com/user-attachments/files/30126412/test-patch.zip)
   
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to