Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

strapi login api

import axios from 'axios';

const { data } = await axios.post('http://localhost:1337/auth/local', {
  identifier: 'reader@strapi.io',
  password: 'strapi',
});

console.log(data);
  
        Copied to clipboard!
    
Comment

strapi login api location

node_modules/strapi-plugin-users-permissions/controllers/Auth.js

Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript un hiden element 
Javascript :: react typewriter 
Javascript :: vue select option get attribute 
Javascript :: nodemon package.json start 
Javascript :: javascript click event notifications 
Javascript :: sum javascript 
Javascript :: node json db example 
Javascript :: fillstyle 
Javascript :: jquery find id with string at end 
Javascript :: javascript in line logic 
Javascript :: web3.js get balance 
Javascript :: last element in array javascript 
Javascript :: Update nextjs to 11 
Javascript :: a <route is only ever to be used as the child of <routes element" 
Javascript :: split string on multiple characters javascript 
Javascript :: js json groupby prop 
Javascript :: adding event listener keypress event in javascript 
Javascript :: angular cli create component with module 
Javascript :: javascript object entries 
Javascript :: create an array of size n in javascript 
Javascript :: activeClassName react router 
Javascript :: js close window 
Javascript :: javascript switch statement multiple cases 
Javascript :: how to check if radio button is checked javascript 
Javascript :: express download file 
Javascript :: multiple transform properties javascript 
Javascript :: jquery disable option by value 
Javascript :: jquery switch class 
Javascript :: how to test usestate in jest 
Javascript :: get express variable 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =