Using the git terminal below are steps in creating a new branch and pushing it to remote repository
Say you have made some changes on a branch currently but dont want to put these changes on this branch but instead on a new branch
Use PHP Unit to check if a function was called once
Below we are going to use PHP Unit to check if a function was called inside a method.
Update Twitter status automatically using GitHub Actions
Log into your twitter account
Register as twitter dev
Once approved create a new app
- Name your twitter bot
- You should have keys now
Create new repo in github
- Save your twitter keys to your GitHub repository…
I setup a AWS Lambda service and connected my website to it via AWS API gateway but I got a CORS error. Below is steps on my fix.
CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
getDataAjax.html:1 Access to XMLHttpRequest at 'https://<url>.amazonaws.com/my-function-apigateway' …
Below are instructions on how to Create a New Customer via Magento’s API. We will be using our local instance of Magento and Postman to send an API. After testing how this works you can then write a script in any language for this API.
Login into your Magento Admin