B4J Question What method should I use to initiate a request

hzq200409

Member
Licensed User
This is what making a correct request with postman looks like.Don't worry about the garbled code in the return, because it's encrypted data.When I tried to make an http request with postbytes, I didn't get the Postman-like garble I expected. It returns no content in the response body except for the status code 200. I tried to talk to the target server programmer, and he said he couldn't decrypt what I was sending. And the bit array I sent is absolutely fine. This is evident in postman. Because the file that postman sends is the bin file that I saved in my code. Now I suspect that the method in httpjob is being used incorrectly. I have tried to copy all the request headers from postman into the postbytes code of httpjob, and still no normal response garble. I was so lost,
View attachment 154345
View attachment 154346

View attachment 154347



My problem has been solved.
 
Last edited:

hzq200409

Member
Licensed User
Okay. Thanks for the heads up. It was a foul. Sorry to trouble you with your work.
If there is an attachment limit of 500kb then there is a reason behind it and you aren't expected to split the file into 20 files and upload them. Upload the file to an online file service and post a link.
 
Upvote 0
Top