0

I am new in websocket so my task is to create websocket sample for consuming mapmyindia API websocket will return information of vichal details so please help me to consume this API into websocket .. Really apricate your work.

  • I assume you want to parsse and response from an HTTP Request. You can either parse the string response in code or use a Controller to process the response. Usually the response is either JSON or XML. You need to provice more info for us to help – jdweng Mar 03 '21 at 08:29
  • i am confused will you please provide me sample ... – Naeem Khan Mar 03 '21 at 08:53
  • Start here :https://learn.microsoft.com/en-us/aspnet/mvc/overview/older-versions-1/controllers-and-routing/ and https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/adding-controller?view=aspnetcore-5.0&tabs=visual-studio – jdweng Mar 03 '21 at 10:19
  • yes i will use link like ws://localhost/getLiveData and after that it will hit inter API which i have set it than will get it values. – Naeem Khan Mar 03 '21 at 11:50
  • So the API is a Web Service. You send a request to a URL and then get a response back. the response is probably a HTML formatted string which you have to parse. – jdweng Mar 03 '21 at 12:20

0 Answers0