Re: About libcurl- Help, please

2020-11-12 Thread Daniel Stenberg via curl-library
On Thu, 12 Nov 2020, Osvaldo Pérez García via curl-library wrote: curl -X GET --header 'Accept: application / json' --header 'Authorization: Bearer undefined' 'https://apistaging.psigate.com/api/secure/ioptransactions?search=41Z256' Some general advice (in addition to Monty's): 1. '-X GET'

Re: About libcurl- Help, please

2020-11-12 Thread m brandenberg via curl-library
On Thu, 12 Nov 2020, Osvaldo P?rez Garc?a via curl-library wrote: curl -X GET --header 'Accept: application / json' --header 'Authorization: Bearer undefined' 'https://apistaging.psigate.com/api/secure/ioptransactions?search=41Z256' Please, How can I send that command from my program using

About libcurl- Help, please

2020-11-12 Thread Osvaldo Pérez García via curl-library
Hello: I'm starting to learn how to use libcurl to automate some of the tasks we do using the curl command. I am programming in C for FreeBSD. So far I have been progressing, but I cannot get this command to work well in the program: curl -X GET --header 'Accept: application / json' --header