Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
piphone-front
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
b20072c4
Commit
b20072c4
authored
Aug 07, 2016
by
okhin
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Api.php
parent
5416d643
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/Api.php
app/Api.php
+1
-1
No files found.
app/Api.php
View file @
b20072c4
...
...
@@ -11,7 +11,7 @@ class Api {
curl_setopt
(
$curl
,
CURLOPT_URL
,
$url
);
curl_setopt
(
$curl
,
CURLOPT_HTTPHEADER
,
array
(
'Content-type: application/json'
));
curl_setopt
(
$curl
,
CURLOPT_RETURNTRANSFER
,
true
);
curl_setopt
(
$c
h
,
CURLOPT_FOLLOWLOCATION
,
1
);
curl_setopt
(
$c
url
,
CURLOPT_FOLLOWLOCATION
,
1
);
$result
=
curl_exec
(
$curl
);
curl_close
(
$curl
);
return
$result
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment