I want to create api in codeiginter3 by using of [login to view URL]
I have ready c# code that is working too, but when we write similar code in php, it did not work, I want this to be work.
Here is the C# working code
string uri = "[login to view URL]";
Int32 timestamp = (Int32)([login to view URL](new DateTime(1970, 1, 1))).TotalSeconds;
var bytes = [login to view URL]("dfs6erwg489kds63ew" + timestamp);
var hmac = new [login to view URL]([login to view URL]("dfs6erwg489kds63ew" + timestamp));
var hash = [login to view URL]([login to view URL]([login to view URL](" ", "%20")));
string signature = [login to view URL]([login to view URL](hash));
[login to view URL] request = [login to view URL](uri);
[login to view URL] = "GET";
[login to view URL] = "application/json; charset=utf-8";
string auth = [login to view URL]("clientKey={0}×tamp={1}&signature={2}", "myProjectName", timestamp, signature);
[login to view URL]("Authorization", auth);
using (var theResponse = [login to view URL]())
{
var dataStream = [login to view URL]();
StreamReader reader = new StreamReader(dataStream);
string objResponse = [login to view URL]();
[login to view URL]();
[login to view URL]();
}
I tried to hit the api and got this response . I will share code and response with you
Relevant Skills and Experience
php
Proposed Milestones
₹1300 INR - complete
Additional Services Offered
₹1 INR - d