skip to Main Content

ASP.NET Core Web API send 400 Bad Request for request client

I have two ASP.NET Core Web API projects called app.account and core.account. I the both projects have some testing API endpoint like this. In app.account: namespace app.account.Controllers { [ApiController] public class SubInteractiveStatementController : ControllerBase { [HttpPost] [Route("account/istatement")] public async Task<ActionResult>…

VIEW QUESTION

Getting Connection refused while running my code, it might be an issue related to proxy.how to fix it? – Twitter-api

//This is my code for returning json response from twitter api which works fine when i am not behind any proxy server import oauth.signpost.OAuthConsumer; import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.util.EntityUtils; import org.json.JSONArray; public class…

VIEW QUESTION
Back To Top
Search