tankorsmash
f76c284ae9
move copypostfields to the pointer options; fix accidentally reverting part of test
2025-03-16 12:32:00 -04:00
tankorsmash
b291110ffa
fix POST data not working without string literals
...
https://curl.se/libcurl/c/curl_easy_setopt.html
Strings passed to libcurl as 'char *' arguments, are copied by the library; the string storage associated to the pointer argument may be discarded or reused after curl_easy_setopt returns. The only exception to this rule is really CURLOPT_POSTFIELDS
2025-03-16 12:18:34 -04:00
d30021db16
Refactor tests for better reporting
2023-10-02 21:24:01 +02:00
3c42890e15
Add tests
2023-10-02 19:41:24 +02:00
a72fe043b2
Format FFI code
2023-10-02 18:25:09 +02:00
772f92037f
Return redirect count in response object
2023-10-02 18:24:46 +02:00
fec113e48f
Remove useless SetPost function
2023-10-02 18:09:53 +02:00
fa31c0c58b
Fix session reset
2023-10-02 18:09:33 +02:00
29d6c7bc02
Create the slist when we open a session for the first time
2023-10-02 16:35:55 +02:00
af2ac51e14
Update readme with the advanced API
2023-10-02 13:58:36 +02:00
de7eb31ed0
Refactor request building
2023-10-02 13:33:52 +02:00
87c91fdb98
Add help for configuration in the readme
2023-10-01 21:27:22 +02:00
0fbc751e57
Rename test.bqn → tests.bqn
2023-10-01 19:31:41 +02:00
d6ddae4a55
Add tests
2023-10-01 19:22:28 +02:00
5ebb88f0ef
Add license and readme
2023-10-01 19:17:17 +02:00
d37b15ab2b
Refactor error handling
2023-10-01 18:38:45 +02:00
5b22260f28
Refactor GET and POST requests
2023-10-01 18:14:54 +02:00
4ff2099e99
Remove temp header files after request
2023-10-01 17:54:30 +02:00
e8047c4b0c
Rename options→curlOptions, info→curlInfo
2023-10-01 17:51:09 +02:00
8c88497fdf
Add POST requests
2023-10-01 17:46:14 +02:00
9bb42177d8
Initial commit: GET requests
2023-10-01 17:01:26 +02:00