How to read this HTTP response (newbie) - http

I have this response and idk how to decode and read it, pls help, im newbie
5//qE7rBsoDQmv1hp9cogDD0Q/6Jz1JOGVHUjZhyu6A8d83sovqYjiYNaEugHMbNGuqPD7PEbGiWP0wHaPRtnhcKa5I3vLA0/AVUQlMzOmJuokoHJzxybKleNp7JItVXyI4LxAo9HnlR5H8yZtWHWVVaYU8ajHOIjzUjvLacejejT1+z2zji/G7dtEuGB1EDQcTuYNiQz/S9n/s/P/bgK4F+bMSevztFvz0X2uXKOC81ti9N/s84ReO66x7Wr8SHxx886CfVgW1OWBIoj9s+uH490md68Bg4

Related

The response code or the response body, it gives me null

I am developing a mobile application in java. And I'm trying to get a json response from the free JSONplaceholder service. I have already tried a hundred ways such as OkHttp, HttpURLConnection and so on. And when I try to get the response code or the response body, it gives me null. Please, help. Perhaps this screenshot will help to understand what the problem is.
The problem was solved by setting the policy.
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);

Unable to figure out the encoding/encryption used

I am new to backend service and I was tracing API calls from a banking website. Normally, I have seen parameters in POST requests being encoded with base64 encoding. However, I came across a type of request where the date was encrypted with a type of encoding that I am unable to figure out.
For date: 19/12/2018 the encoding is: U2FsdGVkX1/o1qw9zIiZBHLAbGck6j15wwUZ/z/zLqw=
and for date: 18/12/2019 the encoded string is: U2FsdGVkX1/mo5+FfuqqqbUtCsdFObB8eKvyosc4b8E=
I am aware of only base64 encoding, but since I am unable to decode this with base64, it seems this is using something else. Appreciate if anyone can help and share some knowledge about the different ways in parameters can be sent to backend in a secret manner.
The encoding/encryption seems to be happening from the frontend side and I feel this could also be an encrypted string with seed sent in a separate parameter. Appreciate if someone can atleast share a list of possible algorithms that I can look into to understand the request sent and create my own requests.

Marketo - Invalid Content Type

I'm trying to use the insert lead api and I'm getting getting error 612 - "Invalid Content Type"
I know there are 2 different threads, as well as the explanation in the documentation that the request header needs to state "Content-Type: application/json"
I've tried both curl (as per the example in the documentation - which is wrong, btw) as well as java. Both clearly have "Content-Type" "application/json"
Any suggestions? Am I missing something? Any thoughts on how I might troubleshoot?
Any help would be really, really appreciated.
I do think it's related to Content-Type. Here is an example with Postman (chrome plug-in). I would check whether your call works as expected using Postman, then try to incorporate it into your code (Java or cURL).

Can I track the progress when downloading a response from SOLR?

One question about SOLR. I have to send a request to get thousands of geolocations. The response follos the json format. My question is if I can track the download progress. I guess that's normal in any http request but not sure. I guess I receive the content-size header at the beginning, or maybe I have to use HEAD. No idea. Any advice?
Thanks for help.

ASP.NET Identify if response is flushed

I want to know is there any property in Response object of ASP.NET that can tell me if response has already been flushed and no further actions can be performed on the response ?
I have a application where we add cookies to each outgoing response (through HTTP module), now if response is already flushed then cookie addition causes error.
can anyone help me out in this one.
For anyone who may need an answer to this and came here from google or else like me, here is a similar question for which a solution is given :
How can I tell when HTTP Headers have been sent in an ASP.NET application?

Resources