Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCF
documentation
Commits
db0d2bf7
Commit
db0d2bf7
authored
6 months ago
by
torrespel
Browse files
Options
Downloads
Patches
Plain Diff
Fix hello_api
parent
026b4df4
No related branches found
No related tags found
1 merge request
!17
Ocf doc15 capif copy
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/testing/postman/hello_api.py
+1
-6
1 addition, 6 deletions
doc/testing/postman/hello_api.py
doc/testing/postman/requirements.txt
+1
-2
1 addition, 2 deletions
doc/testing/postman/requirements.txt
with
2 additions
and
8 deletions
doc/testing/postman/hello_api.py
+
1
−
6
View file @
db0d2bf7
from
flask
import
Flask
,
jsonify
,
request
from
flask_jwt_extended
import
jwt_required
,
JWTManager
,
get_jwt_identity
,
get_jwt
import
ssl
from
flask_jwt_extended
import
jwt_required
,
JWTManager
from
werkzeug
import
serving
import
socket
,
ssl
import
OpenSSL
from
OpenSSL
import
crypto
import
jwt
import
pyone
app
=
Flask
(
__name__
)
...
...
This diff is collapsed.
Click to expand it.
doc/testing/postman/requirements.txt
+
1
−
2
View file @
db0d2bf7
Flask == 3.0.3
flask_jwt_extended == 4.6.0
pyopenssl == 24.1.0
pyone
\ No newline at end of file
pyopenssl == 24.1.0
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment