Skip to content

LondonAppDeveloper/byob-profiles-api-jquery-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Full-Stack Consulting and Courses.

Website | Courses | Tutorials | Consulting



BYOB Profiles API jQuery Client

Example of a simple client for the Profiles API using jQuery.

Setup

Before this will work with the profiles api project, the following changes must be made:

  • Install django-cors-headers with pip.
  • Add corsheaders to INSTALLED_APPS in settings.py.
  • Add 'corsheaders.middleware.CorsMiddleware', above django.middleware.common.CommonMiddleware in MIDDLEWARE of settings.py
  • Add CORS_ORIGIN_ALLOW_ALL = True to the bottom of settings.py.

Once that is done, restart the API and simply open the registration.html file.

About

Example of a simple client for the Profiles API using jQuery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages