skip to Main Content

Can we make a GET between HTTPS and HTTP site? – Shopify

I have a site that I hosted in Shopify in HTTPS, then I made a GET via Angular to a HTTP site. Angular <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,900" rel="stylesheet"> <style type="text/css"> div {…

VIEW QUESTION

Retrofit response code 405 with message "method not allowed here" – Plesk

I am using retrofit and I have a post request interface NetworkApi { @Headers("Content-Type: application/json") @POST("/") fun startLoginRequest(@Body loginModel : LoginModel) : Call<BaseResponseModel> class Factory { var retrofit = Retrofit.Builder() .baseUrl(BASE_URL) .addConverterFactory(GsonConverterFactory.create()) .build() companion object{ fun getApi (): NetworkApi {…

VIEW QUESTION

Facebook api – can't exchange token manually v2.7

I'm using Loopback and I'm trying to user auth for graph api without javascript sdk or passport I got the code successfully however I can't exchange it with access token I followed this guide https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/#confirm my get request is https://graph.facebook.com/v2.7/dialog/oauth?code={xxxx}&client_secret={xxxx}&client_id={xxx}&redirect_uri={myURL}…

VIEW QUESTION

Facebook api – Account Kit: Error verifying the token in the 'access_token'

I'm trying to retrieve an access token for an authentication code. I'm using the following format: GET https://graph.accountkit.com/v1.0/access_token?grant_type=authorization_code&code=AUTH_CODE&access_token=AA|APP_ID|APP_SECRET where AUTH_CODE, APP_ID, and APP_SECRET are their respective values. Here is the python I use to assemble this URL: url = 'https://graph.accountkit.com/v1.0/access_token?grant_type=authorization_code&code='…

VIEW QUESTION
Back To Top
Search