Search found 671 matches
- Mon May 13, 2024 10:07 pm
- Forum: HTTPAPI
- Topic: DATA-INTO with YAJLINTO
- Replies: 6
- Views: 95
Re: DATA-INTO with YAJLINTO
I guessing there's something else going on in your program that you haven't posted here. I copy/pasted your code exactly as you posted it, and it works fine,. .....D*ame+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++++++++++++++ D List ds qualified d riskScore 2a varying d trackingid 32a vary...
Re: OUATH2
You are receiving the error "bad request", which indicates something is wrong with what you're sending. From what you posted here, your document isn't valid XML. There are stray < characters at the end of some of the lines. Keep in mind, though, that I can only really help you with HTTPAPI...
- Fri May 10, 2024 5:54 am
- Forum: HTTPAPI
- Topic: Unable to compile the program which uses Httpapi
- Replies: 6
- Views: 201
Re: Unable to compile the program which uses Httpapi
You don't have authority to overwrite the CONFIG_H member in libhttp.
But if LIBHTTPU works for you, theres no reason not to use that. Have you looked to see where the HTTPAPIR4 service program is located like I asked you to?
But if LIBHTTPU works for you, theres no reason not to use that. Have you looked to see where the HTTPAPIR4 service program is located like I asked you to?
Re: OUATH2
Broken pipe means its trying to send more data after the network has disconnected.
Most likely, this is a network error not a programming error. Why are you getting disconnected?
Most likely, this is a network error not a programming error. Why are you getting disconnected?
- Thu May 09, 2024 3:38 am
- Forum: HTTPAPI
- Topic: Unable to compile the program which uses Httpapi
- Replies: 6
- Views: 201
Re: Unable to compile the program which uses Httpapi
It's looking for HTTPAPIR4 and not finding it in your library list. Type the following: WRKOBJ *ALL/HTTPAPIR4 This will tell you which library it is found in. Add this to your library list. If this doesn't show an object named HTTPAPIR4, it means that you didn't follow the instructions properly when...
- Mon May 06, 2024 8:56 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 163
Re: http redirect 302
I tried it myself, and the redirect URL is longer than the 1024 that HTTPAPI allows for a redirect URL. So I made http_redir_loc() return a longer string... you can get the updated code here: https://www.scottklement.com/httpapi/ Once you've updated to 1.51, recompile your program and try again. Thi...
- Mon May 06, 2024 8:13 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 163
Re: http redirect 302
HTTPAPI does not automaticlaly redirect, you have to code it... I don't know why you'd get a 403 error with HTTPAPI and not with SoapUI, though. I don't see anything obvious wrong with your code -- but I am not familiar with this API.
- Mon May 06, 2024 7:59 pm
- Forum: HTTPAPI
- Topic: http redirect 302
- Replies: 6
- Views: 163
Re: http redirect 302
403 means you don't have access to the URL you requested. Perhaps you need to log in first?
Have you discussed the 403 error with whomever runs/maintains the API?
Have you discussed the 403 error with whomever runs/maintains the API?
- Mon May 06, 2024 7:56 pm
- Forum: General
- Topic: API to receive file
- Replies: 2
- Views: 131
Re: API to receive file
There are three basic ways to do this in REST You can just send a file over HTTP. This is the easiest way. You can send a file as an "attachment". This involves sending a "regular" file like JSON or XML, with another file "attached" to it using a MIME-style multipart do...
- Sun May 05, 2024 12:37 am
- Forum: CL
- Topic: Prototype CL subprocedure in a service program
- Replies: 2
- Views: 164
Re: Prototype CL subprocedure in a service program
Every CLLE module has exactly one procedure, named the same as the module name. I have never done this but have to think that dcl-pr would include EXTPROC with the name of the module (same as its procedure) in it. Yes, if you use EXTPROC it should be the same as the module name for a CL (or Cobol) ...