This is an ASP web API project (NOT MVC). The intention is to have HTML pages sending AJAX requests to the API that sends and consumes JASON. There are only 2 pages in this app: [url removed, login to view], and contact.html. Keep in mind I am new to web API, and I am looking for someone that knows web api.
The first issue is that when I upload the project on my Godaddy hosting account, I get an error message. The app doesn’t know to look for index.html. Instead, it defaults to a default router. I need to set it up so that when someone goes to the site, it loads [url removed, login to view] by default.
The second issue is a quick fix of existing code:
The [url removed, login to view] page sends an email. The goal of this is to harvest all the fields in the form, and place them in the body of the mail message like so:
[url removed, login to view] = "<b>Sender Name: </b>" + [url removed, login to view] + "<br/>"
+ "<b>Sender Email: </b>" + [url removed, login to view] + "<br/>"
+ "<b>Message: </b>" + [url removed, login to view];
All the code for the email is there, it just needs to be re-arranged to the example below.
The AJAX call to the api is in the [url removed, login to view] page
The sender and recipient of the email will be the same email account.
The subject of the incoming email should be “Online inquiry”
Được trao cho:
10 freelancer đang chào giá trung bình $37 cho công việc này
Hi, I can develop this within one day. I have already worked on web API. As soon as you ping me I will be available to develop this for you. Hopefully we will work together for a long time. Thanks, Muhammad Ahmed.