Need help with BAS httpClient Post Request
andy231 last edited by andy231
Hi everyone, just need help with bas httpclient .
I need httpclient header to look like this
POST /v3/user-profile HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) xxxxxx/188.8.131.527 Safari/537.36
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Accept-Encoding: gzip, deflate
I am working with api and i need to Upload IMAGE using POST . How to achieve this . BAS httpclient has parameter and value field for POST DATA.
Using httprequester addon i am able to upload image successfully but unable to do with BAS.@support is it possible using httpclient?
Fox last edited by
@Fox thanks for the help . its working now
@support Still having this problem .Here is screenshot of request from BAS httpclient and fiddler . Problem is BAS isnt sending image file as body when using custom http method
Target server accepts only image/jpeg method for request.
How to sent image in body ?
Allister last edited by
I would love to help but I would need to record the site myself. Mind PMing me the website you're going up against?
Also, have you checked out the wiki? https://wiki.bablosoft.com/doku.php?id=how_to_make_post_request
@Allister , thanks for your help . Seems that i missed important data in wiki even after reading many times . Now its resolved.